import React from 'react'
import Const from "../Const";
import ChatPanel from "./ChatPanel";
import PixelPanel from "./PixelPanel";
import Keymap from "./Keymap";

class Home extends React.Component {
    state = {
        moveX: 0,
        handleDragIng: false,
        treeWidth: 200,
        initTreeWidth: 200,

    }
    editorWarp = null;

    //组件被render之后调用
    componentDidMount() {
    }

    componentWillUnmount() {
    }

    render() {
        return (
            <Keymap className='home'>
                <PixelPanel/>
                <ChatPanel/>
            </Keymap>
        )
    }
}

export default Home
